package com.gin.pixiv.response.tag

import com.fasterxml.jackson.annotation.JsonAlias

/**
 * @author : ginstone
 * @version : v1.0.0
 * @since : 2022/11/1 10:11
 */
class TagDetail {
    /**
     * 解释
     */
    @set:JsonAlias("abstract")
    var description: String? = null
    var en: LangInfo? = null

    @set:JsonAlias("en_new")
    var enNew: LangInfo? = null
    var ja: LangInfo? = null

    @set:JsonAlias("ja_new")
    var jaNew: LangInfo? = null
    var tag: String? = null

    /**
     * 头像(封面)缩略图地址
     */
    @set:JsonAlias("thumbnail")
    var thumbnailUrl: String? = null

    companion object {
        class LangInfo {
            @set:JsonAlias("abstract")
            var description: String? = null
            var tag: String? = null
            var url: String? = null
        }
    }
}
